首页> 外文OA文献 >The open source RFortran library for accessing R from Fortran, with applications in environmental modelling
【2h】

The open source RFortran library for accessing R from Fortran, with applications in environmental modelling

机译:开源RFortran库,用于从Fortran中访问R及其在环境建模中的应用

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

The open source RFortran library is introduced as a convenient tool for accessing the functionality and packages of the R programming language from Fortran programs. It significantly enhances Fortran programming by providing a set of easy-to-use functions that enable access to R0s very rapidly growing statistical, numerical and visualization capabilities, and support a richer and more interactive model development, debugging and analysis setup. RFortran differs from current approaches that require calling Fortran Dynamic link libraries (DLL) from R, and instead enables the Fortran program to transfer data to/from R and invoke R-based procedures via the R command interpreter. More generally, RFortran obviates the need to re-organize Fortran code into DLLs callable from R, or to re-write existing R packages in Fortran, or to jointly compile their Fortran code with the R language itself. Code snippets illustrate the basic transfer of data and commmands to and from R using RFortran, while two case studies discuss its advantages and limitations in realistic environmental modelling applications. These case studies include the generation of automated and interactive inference diagnostics in hydrological model calibration, and the integration of R statistical packages into a Fortran-based numerical quadrature code for joint probability analysis of coastal flooding using numerical hydraulic models. Currently, RFortran uses the Component Object Model (COM) interface for data/command transfer and is supported on the Microsoft Windows operating system and the Intel and Compaq Visual Fortran compilers. Extending its support to other operating systems and compilers is planned for the future. We hope that RFortran expedites method and software development for scientists and engineers with primary programming expertise in Fortran, but who wish to take advantage of R0s extensive statistical, mathematical and visualization packages by calling them from their Fortran code. Further information can be found at www.rfortran.org.
机译:引入了开源RFortran库,作为方便的工具,用于从Fortran程序访问R编程语言的功能和软件包。它通过提供一组易于使用的功能来显着增强Fortran编程,这些功能使用户能够快速增长地访问R0的统计,数值和可视化功能,并支持更丰富和更具交互性的模型开发,调试和分析设置。 RFortran与需要从R调用Fortran动态链接库(DLL)的当前方法不同,而是使Fortran程序能够向R传输数据或从R传输数据,并通过R命令解释器调用基于R的过程。更一般而言,RFortran消除了将Fortran代码重新组织为可从R调用的DLL或重新编写Fortran中现有R软件包或与R语言本身联合编译其Fortran代码的需求。代码段说明了使用RFortran到R的数据和命令的基本传输,同时有两个案例研究讨论了其在实际环境建模应用中的优点和局限性。这些案例研究包括在水文模型校准中生成自动和交互式推理诊断程序,以及将R统计软件包集成到基于Fortran的数字正交代码中,以便使用数字水力模型对海岸洪水进行联合概率分析。当前,RFortran使用组件对象模型(COM)接口进行数据/命令传输,并且在Microsoft Windows操作系统以及Intel和Compaq Visual Fortran编译器上受支持。计划在将来将其支持扩展到其他操作系统和编译器。我们希望RFortran能够为具有Fortran编程专业知识的科学家和工程师加快方法和软件开发的速度,但是他们希望通过从Fortran代码中调用R0的广泛统计,数学和可视化程序包来利用它们。有关更多信息,请访问www.rfortran.org。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
代理获取

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号